<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<jsp:include page="includes/top.jsp"/>

<ul>
    <c:forEach var="feed" items="${feeds}">
     <li>
         <a href="feed.htm?id=${feed.id}" title="${feed.title}">${feed.title}</a>
        <form:form modelAttribute="formFeed">

        <input type=submit value="Delete">
        <input type="hidden" name="id" value="${feed.id}">
        </form:form>
     </li>
    </c:forEach>
</ul>

<jsp:include page="includes/bottom.jsp"/>